package com.snpic.appaw.module.third.api.bjpt.dto.iSPolicyQuery;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
/**
 * @author JiJun
 * @date 2025/9/19 19:25
 * @修改时间 2025/9/19 19:25
 * @description
 */

@Data
@Schema(description = "优惠系数信息数据传输对象")
public class ISProfitDTO {

    @Schema(description = "保单号", maxLength = 30)
    private String policyNo;

    @Schema(description = "分保单号", maxLength = 30)
    private String subPolicyNo;

    @Schema(description = "计划代码[详见码表]", maxLength = 4)
    private String planCode;

    @Schema(description = "险种代码[详见码表]", maxLength = 4)
    private String riskCode;

    @Schema(description = "优惠系数代码[详见码表]", maxLength = 10)
    private String profitCode;

    @Schema(description = "优惠系数名称", maxLength = 100)
    private String profitName;

    @Schema(description = "优惠系数细项代码[详见码表]", maxLength = 10)
    private String subProfitCode;

    @Schema(description = "优惠系数细项名称", maxLength = 100)
    private String subProfitName;

    @Schema(description = "优惠折扣%", example = "0.1500")
    private BigDecimal rate;

    @Schema(description = "最高优惠折扣", example = "0.2000")
    private BigDecimal lowerRate;

    @Schema(description = "最低优惠折扣", example = "0.1000")
    private BigDecimal upperRate;

    @Schema(description = "优惠系数类型[详见码表]", maxLength = 1)
    private String profitType;
}